package shopping.entity;

/**
 * 管理员与角色关联表
 * 
 * @author JiangHuiJun
 *
 */
public class UserRole extends  ParentEntity{

	private int userId;

	private String roleId;

	public int getUserId() {
		return userId;
	}

	public void setUserId(int userId) {    
		this.userId = userId;
	}

	public String getRoleId() {
		return roleId;
	}

	public void setRoleId(String roleId) {
		this.roleId = roleId;
	}

	public UserRole(int userId, String roleId) {
		super();
		this.userId = userId;
		this.roleId = roleId;
	}

	public UserRole() {
		super();
	}

	@Override
	public String toString() {
		return "UserRole [userId=" + userId + ", roleId=" + roleId + "]";
	}

}
